package cn.iocoder.yudao.module.design.controller.admin.house.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.Set;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Tag(name = "管理后台 - 住宅信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class HousePageReqVO extends PageParam {

    @Schema(description = "主人ID")
    private Long ownerId;

    @Schema(description = "项目id")
    private Set<Long> ids;

    @Schema(description = "住宅位置", example = "浙江省宁波市江北区横移广场")
    private String address;

    @Schema(description = "面积")
    private String area;

    @Schema(description = "装修风格", example = "0")
    private String style;

    @Schema(description = "预算")
    private Long budget;

    @Schema(description = "设计师id")
    private Long designerId;

    @Schema(description = "项目状态")
    private String status;

    @Schema(description = "创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

    @Schema(description = "项目介绍")
    private String remark;

    @Schema(description = "项目名称")
    private String projectName;

    @Schema(description = "操作标识   1-我发起的")
    private String optionType;
}
